﻿<div class="col-sm-12">
    <form class="form-horizontal" role="form" ng-controller="dateValidator">
        <div ng-controller="popupDateTime">
            <div class="form-group">
                <div class="col-xs-12">
                    <span class="k-widget k-datetimepicker k-header k-input">
                        <span class="k-picker-wrap k-state-default">
                            <input kendo-date-time-picker type="text" class="k-input" name="{{'Input'+name+id}}"
                                ng-blur="date=checkOldMatch(model, date);changeOrderDate();
                                reset('Input'+name+id, date, id); changeOrderTab()" ng-init="date=null"
                                ng-model="model" k-ng-model="date" k-parse-formats="formatsDateTime" k-format="formatDateTime"/>
                            <span unselectable="on" class="k-select"><span unselectable="on" class="k-icon k-i-calendar" role="button">select</span><span unselectable="on" class="k-icon k-i-clock" role="button">select</span><span unselectable="on" class="k-icon k-i-close" role="button" ng-click="date=clearDate();
             model=clearDate();changeOrderDate();reset('Input'+name+id, date, id);changeOrderTab()">select</span></span>
                        </span>
                    </span>
                </div>
            </div>
        </div>
    </form>
</div>

